-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert issue templates in markdown to GitHub's issue forms #1562
base: main
Are you sure you want to change the base?
Conversation
Recommended changes to Bug Report template
|
Recommended changes to Feature Request template
|
@mitchelbaker-cisa As I was reviewing this PR I couldn't help but think that there is a related issue out there. Should we incorporate the scope of that issue into this PR as well and get rid of two birds with a single stone? Here is a proposal. Decide as you will. I don't have any strong feelings on it.
|
Issue forms are in public preview/beta and they're not yet supported for pull request templates. See last paragraph in GitHub's documentation. For this PR, we can still combine the two sections per your recommendation in pull_request_template.md. Then the switch to a pull request form template would come in a follow-up issue. |
Hard disagree. These are completely separate things, suggest they remain so. Implementation steps are the "what steps do we need to take" and acceptance criteria is "how do we know when its done". They are often different in that its possible to take all the implementation steps and NOT meet the acceptance criteria. Often because the criteria have "extra steps" that aren't fully documented in implementation because they are ancillary, such as documenting outcomes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I codified the suggested version inclusion and added another suggestion for Initialize-SCuBA
output to be included. The former is just to make inclusion easier, the latter is suggested but not required.
Everything else looked good as is. And I do recommend keeping implementation notes and acceptance criteria separate as the focus of each is different.
required: true | ||
- type: textarea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add ScubaGear version to bug report.
required: true | |
- type: textarea | |
required: true | |
- type: textarea | |
attributes: | |
label: "ScubaGear Version" | |
description: Please indicate the version of ScubaGear being run. | |
placeholder: Run Invoke-SCuBA -Version locally and paste output here to ensure correct version is indicated. | |
validations: | |
required: true | |
- type: textarea |
label: Expected behavior | ||
description: What did you expect to happen that didn't? | ||
validations: | ||
required: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest adding another optional field here to capture the output from Initialize-SCuBA. Doing so has the following value:
- This verifies it has been run and gets rid of issues around uninstalled or incorrect version installs of dependencies.
- Whether it installs anything new, it confirms the versions of each dependency in use, helping identify issues with bugged dependency module versions.
- It's easy to collect by users and is fairly general information. The only exception being it might identify their username in the OPA install path.
required: true | |
required: true | |
- type: textarea | |
attributes: | |
label: Output from Initialize-SCuBA | |
description: | | |
Paste the results here: | |
placeholder: "Tip: Run Initialize-SCuBA on the client where you are running ScubaGear and copy/paste the output here." | |
validations: | |
required: false |
🗣 Description
Converts markdown versions of "new idea" and "bug report" templates to Github's issue forms.
GitHub documentation if interested.
💭 Motivation and context
This issue would be useful because issue forms encourage specific, structured information we want included in issues, as well as required fields/input validation.
Closes #1283
🧪 Testing
Check out 3-newidea-scubagear.yaml and 4-bugreport-scubagear.yaml files for formatting/consistency (copied the same files into a personal repository to test since these files have to be committed to a main branch).
Please comment in this PR for any new inputs we want added to either the new issue or bug report templates.
✅ Pre-approval checklist
- [ ] Unit tests added/updated to cover PowerShell and Rego changes.- [ ] Functional tests added/updated to cover PowerShell and Rego changes.- [ ] All relevant functional tests passed.✅ Pre-merge checklist
PR passed smoke test check.
Feature branch has been rebased against changes from parent branch, as needed
Use
Rebase branch
button below or use this reference to rebase from the command line.Resolved all merge conflicts on branch
Notified merge coordinator that PR is ready for merge via comment mention
Demonstrate changes to the team for questions and comments.
(Note: Only required for issues of size
Medium
or larger)✅ Post-merge checklist